package com.xinjian.jianba.dto;

import com.xinjian.jianba.annotation.Validator;


public class GeneralExpenseDto {

    /**
     * 金额.
     */
	@Validator(nullable = false)
    private Double money;

    /**
     * 说明.
     */
    private String description;

    /**
     * 类型;1:支出；2：收入.
     */
    @Validator(nullable = false)
    private Integer type;

    /**
     * 创建时间.
     */
    private String created;


    public Double getMoney() {
        return money;
    }


    public void setMoney(Double money) {
        this.money = money;
    }


    public String getDescription() {
        return description;
    }


    public void setDescription(String description) {
        this.description = description;
    }


    public Integer getType() {
        return type;
    }


    public void setType(Integer type) {
        this.type = type;
    }


    public String getCreated() {
        return created;
    }


    public void setCreated(String created) {
        this.created = created;
    }



}
